package com.mspbots.core.account.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.mspbots.core.BaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName(value = "tenant_role_menu", autoResultMap = true)
public class TenantRoleMenu extends BaseEntity {

    private Long roleId;

    private Long menuId;

    @Builder
    public TenantRoleMenu(Long roleId, Long menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }
}
